package Action;

import Utils.SendSMSHelper;

import com.opensymphony.xwork2.ActionSupport;

@SuppressWarnings("serial")
public class getSMSBalanceAction extends ActionSupport{
	
	private float smsBalance;
	
	public String execute(){
		smsBalance=SendSMSHelper.getBalance();
		if(smsBalance!=-1){
			return "success";
		}else{
			return "false";
		}
	}

	public float getSmsBalance() {
		return smsBalance;
	}

	public void setSmsBalance(float smsBalance) {
		this.smsBalance = smsBalance;
	}
	

}
